FROM microsoft/dotnet:2.1-aspnetcore-runtime AS base
WORKDIR /app
COPY . .
EXPOSE 20000
EXPOSE 20001

FROM microsoft/dotnet:2.1-sdk AS build
WORKDIR "/src/01DeployInDocker/DeployInDockerDemo"
COPY . .

ENTRYPOINT ["dotnet", "DeployInDockerDemo.dll"]